package com.tencent.cloud.iov.action;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 行为注解类，用于定义行为事件标识
 *
 * @author showxiao
 * @date 2018/3/27
 */

@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Action {
    /**
     * @return 行为 ID
     */
    String value();
}
